﻿namespace panduanrunnian
{
    internal class Program
    {
        static bool isLeapYear(int year)
        {
            if (year % 4 == 0 && year % 100 != 0 || year % 400 == 0)
                return true;
            return false;
        }
        static void Main(string[] args)
        {
            Console.WriteLine("请输入一个年份：");
            string year = Console.ReadLine();
            int year1 = Convert.ToInt16(year);
            if (isLeapYear(year1) == true)
            {
                Console.WriteLine("yes");
            }
            else
                Console.WriteLine("No");
        }
    }
}